package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 考试组成员实体
 * @author ahuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_group_members")
public class ExamGroupMember extends BaseModel {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("exam_group_id")
    private Long examGroupId;

    @TableField("user_id")
    private Long userId;

    @TableField(exist = false)
    private String userName;


    @TableField("role")
    private Integer role;

    @TableField("subgroup_ids")
    private String subgroupIds;

    @TableField("approve_status")
    private Integer approveStatus;

    @TableField("join_source")
    private Integer joinSource;
}